/**
    {
    "hNldBy" : "4fe29tNW",
    "vMQj2aggxo" : null,
    "xc19iMT" : "false",
    "zhYKycQ87xo" : "2025-10-14 14:08:12",
    "za7Y" : "#3a9121",
    "fxvhLC" : "egW2hD@gmail.com",
    "WPUuPXOR8" : 21031436,
    "sounds" : {
    "inexplicable" : "http://47.236.240.48:8391/ladDothough",
    "enchantment" : "http://47.236.240.48:8391/herThehope",
    "indescribable" : "http://47.236.240.48:8391/herThehope",
    "within" : "http://47.236.240.48:8391/ladDothough"
    },
    "isPopLw" : 0,
    "mumbled" : [ "User 63***2676 Successful loan ₱20900", "User 63***2002 Successful loan ₱26800", "User 63***6192 Successful loan ₱76700", "User 63***5006 Successful loan ₱24400", "User 63***3386 Successful loan ₱59600", "User 63***6442 Successful loan ₱15100", "User 63***2316 Successful loan ₱17400", "User 63***3880 Successful loan ₱21400", "User 63***5272 Successful loan ₱33200", "User 63***7423 Successful loan ₱43800", "User 63***4437 Successful loan ₱18500", "User 63***7950 Successful loan ₱12800" ],
    "isReyNotice" : 0,
    "isReyNoticeMsg" : "You have a loan waiting to be paid. Inorder not to affect your credit, pleasepay on time",
    "syllables" : [ {
    "heard" : "oa",
    "citizens" : [ {
    "belated" : "",
    "policeman" : "http://47.236.240.48:8391/swcash_img/banner.png"
    } ]
    }, {
    "heard" : "ob",
    "citizens" : [ {
    "staring" : 2,
    "tossing" : "Batis Cash",
    "griesbach" : "http://ph-credit-peso-ios.oss-ap-southeast-6.aliyuncs.com/202309/20230920115534_8shxzx8ly4.png?OSSAccessKeyId=LTAI5tQ4Eqf4UjPtizyvPNBG&Expires=1884398134&Signature=xeTpQzKLdTtrj2Lg1VMJ56lXTHs%3D",
    "earnestly" : "Apply",
    "week" : "₱ 80000",
    "later" : "Maxium Loan Amount Upto",
    "hours" : "120 days",
    "three" : "Loan Term",
    "custom" : "0.08% day",
    "stayed" : "Interest Rate",
    "threeDes" : "Popular loan"
    } ]
    } ],
    "fervour" : "http://47.236.240.48:8391/repeatedeye2025-10-29",
    "isAuh" : 0
    }
 */

class DnpHomeDataModel {
  String? hNldBy;
  dynamic vMQj2aggxo;
  String? xc19iMT;
  String? zhYKycQ87xo;
  String? za7Y;
  String? fxvhLC;
  int? WPUuPXOR8;
  DnpSounds? sounds;
  int? isPopLw;
  List<String>? mumbled;
  int? isReyNotice;
  String? isReyNoticeMsg;
  List<DnpSyllable>? syllables;
  String? fervour;
  int? isAuh;

  DnpHomeDataModel({
    this.hNldBy,
    this.vMQj2aggxo,
    this.xc19iMT,
    this.zhYKycQ87xo,
    this.za7Y,
    this.fxvhLC,
    this.WPUuPXOR8,
    this.sounds,
    this.isPopLw,
    this.mumbled,
    this.isReyNotice,
    this.isReyNoticeMsg,
    this.syllables,
    this.fervour,
    this.isAuh,
  });

  factory DnpHomeDataModel.fromJson(Map<String, dynamic> json) {
    return DnpHomeDataModel(
      hNldBy: json['hNldBy'] as String?,
      vMQj2aggxo: json['vMQj2aggxo'],
      xc19iMT: json['xc19iMT'] as String?,
      zhYKycQ87xo: json['zhYKycQ87xo'] as String?,
      za7Y: json['za7Y'] as String?,
      fxvhLC: json['fxvhLC'] as String?,
      WPUuPXOR8: json['WPUuPXOR8'] as int?,
      sounds: json['sounds'] != null 
          ? DnpSounds.fromJson(json['sounds'] as Map<String, dynamic>)
          : null,
      isPopLw: json['isPopLw'] as int?,
      mumbled: json['mumbled'] != null
          ? List<String>.from(json['mumbled'] as List)
          : null,
      isReyNotice: json['isReyNotice'] as int?,
      isReyNoticeMsg: json['isReyNoticeMsg'] as String?,
      syllables: json['syllables'] != null
          ? (json['syllables'] as List)
              .map((e) => DnpSyllable.fromJson(e as Map<String, dynamic>))
              .toList()
          : null,
      fervour: json['fervour'] as String?,
      isAuh: json['isAuh'] as int?,
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'hNldBy': hNldBy,
      'vMQj2aggxo': vMQj2aggxo,
      'xc19iMT': xc19iMT,
      'zhYKycQ87xo': zhYKycQ87xo,
      'za7Y': za7Y,
      'fxvhLC': fxvhLC,
      'WPUuPXOR8': WPUuPXOR8,
      'sounds': sounds?.toJson(),
      'isPopLw': isPopLw,
      'mumbled': mumbled,
      'isReyNotice': isReyNotice,
      'isReyNoticeMsg': isReyNoticeMsg,
      'syllables': syllables?.map((e) => e.toJson()).toList(),
      'fervour': fervour,
      'isAuh': isAuh,
    };
  }
}

class DnpSounds {
  String? inexplicable;
  String? enchantment;
  String? indescribable;
  String? within;

  DnpSounds({
    this.inexplicable,
    this.enchantment,
    this.indescribable,
    this.within,
  });

  factory DnpSounds.fromJson(Map<String, dynamic> json) {
    return DnpSounds(
      inexplicable: json['inexplicable'] as String?,
      enchantment: json['enchantment'] as String?,
      indescribable: json['indescribable'] as String?,
      within: json['within'] as String?,
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'inexplicable': inexplicable,
      'enchantment': enchantment,
      'indescribable': indescribable,
      'within': within,
    };
  }
}

class DnpSyllable {
  String? heard;
  List<DnpCitizen>? citizens;

  DnpSyllable({
    this.heard,
    this.citizens,
  });

  factory DnpSyllable.fromJson(Map<String, dynamic> json) {
    return DnpSyllable(
      heard: json['heard'] as String?,
      citizens: json['citizens'] != null
          ? (json['citizens'] as List)
              .map((e) => DnpCitizen.fromJson(e as Map<String, dynamic>))
              .toList()
          : null,
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'heard': heard,
      'citizens': citizens?.map((e) => e.toJson()).toList(),
    };
  }
}

class DnpCitizen {
  // Banner fields
  String? belated;
  String? policeman;
  
  // Product fields
  int? staring;
  String? tossing;
  String? griesbach;
  String? earnestly;
  String? week;
  String? later;
  String? hours;
  String? three;
  String? custom;
  String? stayed;
  String? threeDes;
  String? struck;

  DnpCitizen({
    this.belated,
    this.policeman,
    this.staring,
    this.tossing,
    this.griesbach,
    this.earnestly,
    this.week,
    this.later,
    this.hours,
    this.three,
    this.custom,
    this.stayed,
    this.threeDes,
    this.struck,
  });

  factory DnpCitizen.fromJson(Map<String, dynamic> json) {
    return DnpCitizen(
      belated: json['belated'] as String?,
      policeman: json['policeman'] as String?,
      staring: json['staring'] as int?,
      tossing: json['tossing'] as String?,
      griesbach: json['griesbach'] as String?,
      earnestly: json['earnestly'] as String?,
      week: json['week'] as String?,
      later: json['later'] as String?,
      hours: json['hours'] as String?,
      three: json['three'] as String?,
      custom: json['custom'] as String?,
      stayed: json['stayed'] as String?,
      threeDes: json['threeDes'] as String?,
      struck: json['struck'] as String?,
    );
  }

  Map<String, dynamic> toJson() {
    return {
      'belated': belated,
      'policeman': policeman,
      'staring': staring,
      'tossing': tossing,
      'griesbach': griesbach,
      'earnestly': earnestly,
      'week': week,
      'later': later,
      'hours': hours,
      'three': three,
      'custom': custom,
      'stayed': stayed,
      'threeDes': threeDes,
      'struck': struck,
    };
  }
}